<!-- <p>ajax-send works!</p> -->
<h1>ajax请求</h1>
<p>types:{{types | json}}</p>
<input type="button" value="打印HttpClient对象" (click)="printHttp()">
<hr>
<input type="button" value="get无参数请求" (click)="sendGetNoParams()">
<input type="button" value="get无参数请求" (click)="sendGetNoParams1()">
<hr>
<p>get请求带参数</p>
<p>films:{{films | json}}</p>
<input type="button" value="get有参数请求--拼接" (click)="sendGetHaveParams()">
<input type="button" value="get有参数请求--options" (click)="sendGetHaveParams1()">
<hr>
<p>post请求</p>
<p>types:{{types | json}}</p>
<input type="button" value="post无参数请求" (click)="sendPostNoParams()">
<input type="button" value="post有参数请求--string" (click)="sendPostHaveParams()">
<input type="button" value="post有参数请求--HttpParams" (click)="sendPostHaveParams1()">
<p>jsonp请求</p>
<input type="text" [(ngModel)]="wd">
<input type="button" value="百度一下，你就不知道" (click)="sendJsonp()">
<p>请求模块化</p>
<p>types:{{types | json}}</p>
<input type="button" value="调用模块化地址" (click)="sendModule()">
